Release 10.1A: OpenEdge Development:
ADM Reference


assignFocusedWidget

Sets focus to the named object. Not supported for SmartDataFields and returns FALSE if attempted for SmartDataFields.

Location: visual.p

Parameters:

INPUT name AS CHARACTER

The name of a single Dynamics object.

Returns: LOGICAL

Notes: None

Examples:

The following illustrates the use of this method in 4GL code for use with a graphical user interface:

IF widgetIsModified("name":U) THEN  
 assignFocusedWidget("description":U). 

The following illustrates the use of this method in DHTML code for use with a Web browser:

if (logic.widgetIsModified(‘orderviewv.name’)) 
  logic.assignFocusedWidget(‘orderviewv.description’); 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095